package net.uri;

import java.net.URI;

public class UriDemo
{
	public static void main(String[] args)
	{
			URI uri = URI.create("http://www.baidu.com");
			System.out.println(uri.getRawAuthority());
			System.out.println(uri.getRawSchemeSpecificPart());
			System.out.println(uri.getSchemeSpecificPart());
			System.out.println(uri.getFragment());
			System.out.println(uri.getRawFragment());
	}
}
